import request from '@/utils/request'

// 查询落格回传列表
export function listWmsHandCmd(query) {
  return request({
    url: '/system/WmsHandCmd/list',
    method: 'get',
    params: query
  })
}

// 查询落格回传详细
export function getWmsHandCmd(id) {
  return request({
    url: '/system/WmsHandCmd/' + id,
    method: 'get'
  })
}

// 新增落格回传
export function addWmsHandCmd(data) {
  return request({
    url: '/system/WmsHandCmd',
    method: 'post',
    data: data
  })
}

// 修改落格回传
export function updateWmsHandCmd(data) {
  return request({
    url: '/system/WmsHandCmd',
    method: 'put',
    data: data
  })
}

// 删除落格回传
export function delWmsHandCmd(id) {
  return request({
    url: '/system/WmsHandCmd/' + id,
    method: 'delete'
  })
}

// 导出落格回传
export function exportWmsHandCmd(query) {
  return request({
    url: '/system/WmsHandCmd/export',
    method: 'get',
    params: query
  })
}